#if !defined(AFX_ADDBOOK_H__9BF6C563_6AAF_4747_868D_90B075BE5673__INCLUDED_)
#define AFX_ADDBOOK_H__9BF6C563_6AAF_4747_868D_90B075BE5673__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AddBook.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// AddBook dialog

class AddBook : public CDialog
{
// Construction
public:
	AddBook(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(AddBook)
	enum { IDD = IDD_AddBook };
	CListBox	m_blistbox;
	CEdit	m_edit;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AddBook)
	public:
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(AddBook)
	afx_msg void OnAddbookBUTTON();
	afx_msg void OnSaveEditbookName();
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeList();
	afx_msg void OndelbookBUTTON();
	afx_msg void OnupBUTTON();
	afx_msg void OndownBUTTON();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
    void CreatXml(CString filepath);
	void CreatXml();
	void AddBookToXml(CString BookName);
	void SaveBookNameList();
	void LoadBook();
    
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADDBOOK_H__9BF6C563_6AAF_4747_868D_90B075BE5673__INCLUDED_)
